package de.tudarmstadt.fgbs.cafe.ui.akabahn.elements;

import java.awt.geom.Line2D;

import de.tudarmstadt.fgbs.cafe.structure.Bahnhof;
import de.tudarmstadt.fgbs.cafe.structure.Zuglauf;

public class ZwlLine extends Line2D.Float {
    /**
     * 
     */
    private static final long serialVersionUID = 1673875294981881238L;

    private Zuglauf zl;
    private Bahnhof startBhf, endBhf;

    public ZwlLine(float x1, float startY, float x2, float endY, Zuglauf zl,
	    Bahnhof start, Bahnhof end) {
	super(x1, startY, x2, endY);
	this.zl = zl;
	this.startBhf = start;
	this.endBhf = end;
    }

    /**
     * @return the zl
     */
    public Zuglauf getZl() {
	return zl;
    }

    /**
     * @return the startBhf
     */
    public Bahnhof getStartBhf() {
	return startBhf;
    }

    /**
     * @return the endBhf
     */
    public Bahnhof getEndBhf() {
	return endBhf;
    }
}
